local L0_1, L1_1, L2_1, L3_1, L4_1, L5_1, L6_1, L7_1, L8_1, L9_1, L10_1, L11_1, L12_1, L13_1, L14_1, L15_1, L16_1, L17_1, L18_1, L19_1, L20_1
L0_1 = {}
L0_1.group_id = 133216010
L1_1 = {}
L2_1 = {}
L2_1.config_id = 10001
L2_1.monster_id = 21010301
L3_1 = {}
L3_1.x = -4782.655
L3_1.y = 204.02
L3_1.z = -2540.563
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 272.708
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 33
L2_1.drop_tag = "\228\184\152\228\184\152\228\186\186"
L2_1.pose_id = 9003
L2_1.area_id = 18
L3_1 = {}
L3_1.config_id = 10002
L3_1.monster_id = 21010901
L4_1 = {}
L4_1.x = -4785.266
L4_1.y = 204.02
L4_1.z = -2539.992
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 354.065
L4_1.y = 357.025
L4_1.z = 0.308
L3_1.rot = L4_1
L3_1.level = 33
L3_1.drop_id = 1000100
L3_1.disableWander = true
L3_1.pose_id = 32
L3_1.area_id = 18
L4_1 = {}
L4_1.config_id = 10003
L4_1.monster_id = 21030301
L5_1 = {}
L5_1.x = -4761.674
L5_1.y = 205.196
L5_1.z = -2518.987
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 191.262
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 33
L4_1.drop_id = 1000100
L4_1.disableWander = true
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 10018
L5_1.monster_id = 22010401
L6_1 = {}
L6_1.x = -4775.536
L6_1.y = 206.014
L6_1.z = -2530.395
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 307.713
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 33
L5_1.drop_tag = "\230\183\177\230\184\138\230\179\149\229\184\136"
L5_1.area_id = 18
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
monsters = L1_1
L1_1 = {}
npcs = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 10004
L2_1.gadget_id = 70950092
L3_1 = {}
L3_1.x = -4784.006
L3_1.y = 200.0
L3_1.z = -2541.36
L2_1.pos = L3_1
L3_1 = {}
L3_1.x = 0.0
L3_1.y = 317.381
L3_1.z = 0.0
L2_1.rot = L3_1
L2_1.level = 33
L3_1 = GadgetState
L3_1 = L3_1.GearStart
L2_1.state = L3_1
L2_1.area_id = 18
L3_1 = {}
L3_1.config_id = 10005
L3_1.gadget_id = 70950092
L4_1 = {}
L4_1.x = -4761.401
L4_1.y = 200.0
L4_1.z = -2541.848
L3_1.pos = L4_1
L4_1 = {}
L4_1.x = 0.0
L4_1.y = 314.558
L4_1.z = 0.0
L3_1.rot = L4_1
L3_1.level = 33
L4_1 = GadgetState
L4_1 = L4_1.GearStart
L3_1.state = L4_1
L3_1.area_id = 18
L4_1 = {}
L4_1.config_id = 10006
L4_1.gadget_id = 70290059
L5_1 = {}
L5_1.x = -4771.921
L5_1.y = 200.0
L5_1.z = -2530.141
L4_1.pos = L5_1
L5_1 = {}
L5_1.x = 0.0
L5_1.y = 3.232
L5_1.z = 0.0
L4_1.rot = L5_1
L4_1.level = 33
L5_1 = GadgetState
L5_1 = L5_1.GearStart
L4_1.state = L5_1
L4_1.area_id = 18
L5_1 = {}
L5_1.config_id = 10007
L5_1.gadget_id = 70950087
L6_1 = {}
L6_1.x = -4760.293
L6_1.y = 200.0
L6_1.z = -2538.342
L5_1.pos = L6_1
L6_1 = {}
L6_1.x = 0.0
L6_1.y = 52.264
L6_1.z = 0.0
L5_1.rot = L6_1
L5_1.level = 33
L5_1.area_id = 18
L6_1 = {}
L6_1.config_id = 10008
L6_1.gadget_id = 70950087
L7_1 = {}
L7_1.x = -4757.263
L7_1.y = 200.0
L7_1.z = -2542.335
L6_1.pos = L7_1
L7_1 = {}
L7_1.x = 0.0
L7_1.y = 270.559
L7_1.z = 0.0
L6_1.rot = L7_1
L6_1.level = 33
L6_1.area_id = 18
L7_1 = {}
L7_1.config_id = 10009
L7_1.gadget_id = 70290060
L8_1 = {}
L8_1.x = -4779.038
L8_1.y = 204.319
L8_1.z = -2536.439
L7_1.pos = L8_1
L8_1 = {}
L8_1.x = 0.0
L8_1.y = 316.966
L8_1.z = 0.0
L7_1.rot = L8_1
L7_1.level = 33
L7_1.area_id = 18
L8_1 = {}
L8_1.config_id = 10010
L8_1.gadget_id = 70290060
L9_1 = {}
L9_1.x = -4766.519
L9_1.y = 204.224
L9_1.z = -2536.74
L8_1.pos = L9_1
L9_1 = {}
L9_1.x = 0.0
L9_1.y = 224.933
L9_1.z = 0.0
L8_1.rot = L9_1
L8_1.level = 33
L8_1.area_id = 18
L9_1 = {}
L9_1.config_id = 10014
L9_1.gadget_id = 70290059
L10_1 = {}
L10_1.x = -4759.974
L10_1.y = 199.136
L10_1.z = -2516.81
L9_1.pos = L10_1
L10_1 = {}
L10_1.x = 0.0
L10_1.y = 344.923
L10_1.z = 0.0
L9_1.rot = L10_1
L9_1.level = 33
L10_1 = GadgetState
L10_1 = L10_1.GearStart
L9_1.state = L10_1
L9_1.area_id = 18
L10_1 = {}
L10_1.config_id = 10015
L10_1.gadget_id = 70290060
L11_1 = {}
L11_1.x = -4766.053
L11_1.y = 205.076
L11_1.z = -2524.501
L10_1.pos = L11_1
L11_1 = {}
L11_1.x = 0.0
L11_1.y = 130.485
L11_1.z = 351.867
L10_1.rot = L11_1
L10_1.level = 33
L10_1.area_id = 18
L11_1 = {}
L11_1.config_id = 10016
L11_1.gadget_id = 70290057
L12_1 = {}
L12_1.x = -4746.049
L12_1.y = 199.343
L12_1.z = -2529.328
L11_1.pos = L12_1
L12_1 = {}
L12_1.x = 5.665
L12_1.y = 93.04
L12_1.z = 0.0
L11_1.rot = L12_1
L11_1.level = 33
L11_1.area_id = 18
L12_1 = {}
L12_1.config_id = 10017
L12_1.gadget_id = 70211151
L13_1 = {}
L13_1.x = -4759.289
L13_1.y = 205.166
L13_1.z = -2515.853
L12_1.pos = L13_1
L13_1 = {}
L13_1.x = 355.186
L13_1.y = 213.989
L13_1.z = 0.0
L12_1.rot = L13_1
L12_1.level = 26
L12_1.chest_drop_id = 21900001
L12_1.drop_count = 1
L13_1 = GadgetState
L13_1 = L13_1.ChestLocked
L12_1.state = L13_1
L12_1.isOneoff = true
L12_1.persistent = true
L13_1 = {}
L13_1.name = "chest"
L13_1.exp = 1
L12_1.explore = L13_1
L12_1.area_id = 18
L13_1 = {}
L13_1.config_id = 10019
L13_1.gadget_id = 70220013
L14_1 = {}
L14_1.x = -4770.206
L14_1.y = 206.113
L14_1.z = -2530.672
L13_1.pos = L14_1
L14_1 = {}
L14_1.x = 0.0
L14_1.y = 0.0
L14_1.z = 0.0
L13_1.rot = L14_1
L13_1.level = 33
L13_1.area_id = 18
L14_1 = {}
L14_1.config_id = 10020
L14_1.gadget_id = 70220026
L15_1 = {}
L15_1.x = -4761.258
L15_1.y = 205.198
L15_1.z = -2514.269
L14_1.pos = L15_1
L15_1 = {}
L15_1.x = 0.0
L15_1.y = 0.0
L15_1.z = 0.0
L14_1.rot = L15_1
L14_1.level = 33
L14_1.area_id = 18
L15_1 = {}
L15_1.config_id = 10021
L15_1.gadget_id = 70220026
L16_1 = {}
L16_1.x = -4756.536
L16_1.y = 205.16
L16_1.z = -2516.674
L15_1.pos = L16_1
L16_1 = {}
L16_1.x = 0.0
L16_1.y = 25.91
L16_1.z = 0.0
L15_1.rot = L16_1
L15_1.level = 33
L15_1.area_id = 18
L16_1 = {}
L16_1.config_id = 10022
L16_1.gadget_id = 70220014
L17_1 = {}
L17_1.x = -4756.979
L17_1.y = 205.16
L17_1.z = -2517.853
L16_1.pos = L17_1
L17_1 = {}
L17_1.x = 0.0
L17_1.y = 0.0
L17_1.z = 0.0
L16_1.rot = L17_1
L16_1.level = 33
L16_1.area_id = 18
L17_1 = {}
L17_1.config_id = 10023
L17_1.gadget_id = 70220014
L18_1 = {}
L18_1.x = -4772.147
L18_1.y = 206.021
L18_1.z = -2534.523
L17_1.pos = L18_1
L18_1 = {}
L18_1.x = 0.0
L18_1.y = 0.0
L18_1.z = 0.0
L17_1.rot = L18_1
L17_1.level = 33
L17_1.area_id = 18
L18_1 = {}
L18_1.config_id = 10024
L18_1.gadget_id = 70220014
L19_1 = {}
L19_1.x = -4773.725
L19_1.y = 206.073
L19_1.z = -2534.26
L18_1.pos = L19_1
L19_1 = {}
L19_1.x = 0.0
L19_1.y = 0.0
L19_1.z = 0.0
L18_1.rot = L19_1
L18_1.level = 33
L18_1.area_id = 18
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
L1_1[4] = L5_1
L1_1[5] = L6_1
L1_1[6] = L7_1
L1_1[7] = L8_1
L1_1[8] = L9_1
L1_1[9] = L10_1
L1_1[10] = L11_1
L1_1[11] = L12_1
L1_1[12] = L13_1
L1_1[13] = L14_1
L1_1[14] = L15_1
L1_1[15] = L16_1
L1_1[16] = L17_1
L1_1[17] = L18_1
gadgets = L1_1
L1_1 = {}
regions = L1_1
L1_1 = {}
L2_1 = {}
L2_1.config_id = 1010011
L2_1.name = "ANY_GADGET_DIE_10011"
L3_1 = EventType
L3_1 = L3_1.EVENT_ANY_GADGET_DIE
L2_1.event = L3_1
L2_1.source = ""
L2_1.condition = "condition_EVENT_ANY_GADGET_DIE_10011"
L2_1.action = "action_EVENT_ANY_GADGET_DIE_10011"
L3_1 = {}
L3_1.config_id = 1010012
L3_1.name = "ANY_GADGET_DIE_10012"
L4_1 = EventType
L4_1 = L4_1.EVENT_ANY_GADGET_DIE
L3_1.event = L4_1
L3_1.source = ""
L3_1.condition = "condition_EVENT_ANY_GADGET_DIE_10012"
L3_1.action = "action_EVENT_ANY_GADGET_DIE_10012"
L4_1 = {}
L4_1.config_id = 1010013
L4_1.name = "ANY_MONSTER_DIE_10013"
L5_1 = EventType
L5_1 = L5_1.EVENT_ANY_MONSTER_DIE
L4_1.event = L5_1
L4_1.source = ""
L4_1.condition = "condition_EVENT_ANY_MONSTER_DIE_10013"
L4_1.action = "action_EVENT_ANY_MONSTER_DIE_10013"
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
triggers = L1_1
L1_1 = {}
L2_1 = {}
L2_1.configId = 1
L2_1.name = "GroupCompletion"
L2_1.value = 0
L2_1.no_refresh = false
L3_1 = {}
L3_1.configId = 2
L3_1.name = "remainingHeat"
L3_1.value = 3
L3_1.no_refresh = false
L4_1 = {}
L4_1.configId = 3
L4_1.name = "wave"
L4_1.value = 0
L4_1.no_refresh = false
L1_1[1] = L2_1
L1_1[2] = L3_1
L1_1[3] = L4_1
variables = L1_1
L1_1 = {}
L1_1.suite = 1
L1_1.end_suite = 0
L1_1.rand_suite = false
init_config = L1_1
L1_1 = {}
L2_1 = {}
L3_1 = {}
L4_1 = 10001
L5_1 = 10002
L6_1 = 10003
L7_1 = 10018
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L2_1.monsters = L3_1
L3_1 = {}
L4_1 = 10004
L5_1 = 10005
L6_1 = 10006
L7_1 = 10007
L8_1 = 10008
L9_1 = 10009
L10_1 = 10010
L11_1 = 10014
L12_1 = 10015
L13_1 = 10016
L14_1 = 10017
L15_1 = 10019
L16_1 = 10020
L17_1 = 10021
L18_1 = 10022
L19_1 = 10023
L20_1 = 10024
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L3_1[4] = L7_1
L3_1[5] = L8_1
L3_1[6] = L9_1
L3_1[7] = L10_1
L3_1[8] = L11_1
L3_1[9] = L12_1
L3_1[10] = L13_1
L3_1[11] = L14_1
L3_1[12] = L15_1
L3_1[13] = L16_1
L3_1[14] = L17_1
L3_1[15] = L18_1
L3_1[16] = L19_1
L3_1[17] = L20_1
L2_1.gadgets = L3_1
L3_1 = {}
L2_1.regions = L3_1
L3_1 = {}
L4_1 = "ANY_GADGET_DIE_10011"
L5_1 = "ANY_GADGET_DIE_10012"
L6_1 = "ANY_MONSTER_DIE_10013"
L3_1[1] = L4_1
L3_1[2] = L5_1
L3_1[3] = L6_1
L2_1.triggers = L3_1
L2_1.rand_weight = 100
L3_1 = {}
L4_1 = {}
L3_1.monsters = L4_1
L4_1 = {}
L3_1.gadgets = L4_1
L4_1 = {}
L3_1.regions = L4_1
L4_1 = {}
L3_1.triggers = L4_1
L3_1.rand_weight = 100
L1_1[1] = L2_1
L1_1[2] = L3_1
suites = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 10004 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_GADGET_DIE_10011 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 10009
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_GADGET_DIE_10011 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2
  L2_2 = A1_2.param1
  if 10005 ~= L2_2 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_GADGET_DIE_10012 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.KillEntityByConfigId
  L3_2 = A0_2
  L4_2 = {}
  L4_2.config_id = 10010
  L2_2 = L2_2(L3_2, L4_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : kill_entity_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_GADGET_DIE_10012 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2
  L2_2 = ScriptLib
  L2_2 = L2_2.GetGroupMonsterCountByGroupId
  L3_2 = A0_2
  L4_2 = 133216010
  L2_2 = L2_2(L3_2, L4_2)
  if L2_2 ~= 0 then
    L2_2 = false
    return L2_2
  end
  L2_2 = true
  return L2_2
end
condition_EVENT_ANY_MONSTER_DIE_10013 = L1_1
function L1_1(A0_2, A1_2)
  local L2_2, L3_2, L4_2, L5_2
  L2_2 = ScriptLib
  L2_2 = L2_2.SetGadgetStateByConfigId
  L3_2 = A0_2
  L4_2 = 10017
  L5_2 = GadgetState
  L5_2 = L5_2.Default
  L2_2 = L2_2(L3_2, L4_2, L5_2)
  if 0 ~= L2_2 then
    L2_2 = ScriptLib
    L2_2 = L2_2.PrintContextLog
    L3_2 = A0_2
    L4_2 = "@@ LUA_WARNING : set_gadget_state_by_configId"
    L2_2(L3_2, L4_2)
    L2_2 = -1
    return L2_2
  end
  L2_2 = 0
  return L2_2
end
action_EVENT_ANY_MONSTER_DIE_10013 = L1_1
